package com.icode.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.icode.common.utils.PageUtils;
import com.icode.gulimall.product.entity.AttrGroupEntity;
import com.icode.gulimall.product.vo.AttrGroupWithAttrsVo;
import com.icode.gulimall.product.vo.SpuItemAttrGroupVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author my_code
 * @email 1345743081@gmail.com
 * @date 2020-10-27 17:57:59
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    List<AttrGroupWithAttrsVo> getAllAttrs(Long catelogId);

    List<SpuItemAttrGroupVo> getAttrGroupWithAttrsBySpuId(Long spuId, Long catalog);
}

